package com.qyhl.webtv.commonlib.entity.live;

import java.io.Serializable;
import java.util.List;

/**
 * Created by qyhl on 2017/12/14.
 * 图文直播模型
 */

public class TeleTextBean implements Serializable {
    private int isFollow;//是否开启提醒
    private int surveyActId;//是否开启投票
    public String starttime;//开始时间
    public String createtime;
    public String digest;
    public String contentRule;
    public String siteId;
    public String coverPic;
    public String title;
    public String type;
    public String chatroomId;
    public String status;
    public int id;
    public String streamAddressName;
    public String actName;
    public String surveyActName;
    public List<String> audioList;

    private List<NanBuLiveTagBean> tagList;
    //是否有链接
    private int isLink;
    //链接地址
    private String linkUrl;

    // 流地址
    public String pushUrl;

    //是否有现场报道
    public int isContent;

    //是否有聊天室
    public int isChatRoom;

    //是否有描述
    public int isDescription;

    //是否有商品
    public int isItem;

    //http m3u8播放地址
    public String hlsUrl;

    //rtmp协议波流地址
    public String rtmpUrl;

    //广告图片(图片地址链接)
    public String advPic;

    //广告链接
    public String advUrl;

    //回放地址
    public String playBackUrl;

    //点击量
    public String hits;

    //点赞数
    public String love;

    //聊天室在线人数
    public int number;

    private int isPsw;//是否需要密碼  1.是  2.否

    public int isMultiAdress;//是否是多路流 1.是  2.否

    public List<MutiAdressList> streamAdress;
    public ChatRoom chatRoom;

    public int actId;

    public int itemNumber;//商品数量

    public int getItemNumber() {
        return itemNumber;
    }

    public void setItemNumber(int itemNumber) {
        this.itemNumber = itemNumber;
    }

    public int getIsItem() {
        return isItem;
    }

    public void setIsItem(int isItem) {
        this.isItem = isItem;
    }

    public int getActId() {
        return actId;
    }

    public void setActId(int actId) {
        this.actId = actId;
    }

    public int getSurveyActId() {
        return surveyActId;
    }

    public String getActName() {
        return actName;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }

    public String getSurveyActName() {
        return surveyActName;
    }

    public void setSurveyActName(String surveyActName) {
        this.surveyActName = surveyActName;
    }

    public void setSurveyActId(int surveyActId) {
        this.surveyActId = surveyActId;
    }

    public int getIsPsw() {
        return isPsw;
    }

    public void setIsPsw(int isPsw) {
        this.isPsw = isPsw;
    }

    public String getStreamAddressName() {
        return streamAddressName;
    }

    public void setStreamAddressName(String streamAddressName) {
        this.streamAddressName = streamAddressName;
    }

    public int getIsMultiAdress() {
        return isMultiAdress;
    }

    public void setIsMultiAdress(int isMultiAdress) {
        this.isMultiAdress = isMultiAdress;
    }

    public List<MutiAdressList> getStreamAdress() {
        return streamAdress;
    }

    public void setStreamAdress(List<MutiAdressList> streamAdress) {
        this.streamAdress = streamAdress;
    }

    public int getIsLink() {
        return isLink;
    }

    public void setIsLink(int isLink) {
        this.isLink = isLink;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public List<String> getAudioList() {
        return audioList;
    }

    public void setAudioList(List<String> audioList) {
        this.audioList = audioList;
    }

    public class ChatRoom implements Serializable {
        public String id;
        public String sceneId;
        public String type;
        public String chatRoomId;

        public String getChatRoomId() {
            return chatRoomId;
        }

        public void setChatRoomId(String chatRoomId) {
            this.chatRoomId = chatRoomId;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getSceneId() {
            return sceneId;
        }

        public void setSceneId(String sceneId) {
            this.sceneId = sceneId;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

    }

    public class MutiAdressList implements Serializable {
        public String title;
        public String hlsUrl;
        private boolean isChecked;

        public String playbackUrl;

        public int isMain;//是否是主流

        public String encodeHlsUrl;//加密直播流

        public String encodePlayBackUrl;//加密回放流

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getHlsUrl() {
            return hlsUrl;
        }

        public void setHlsUrl(String hlsUrl) {
            this.hlsUrl = hlsUrl;
        }

        public String getPlaybackUrl() {
            return playbackUrl;
        }

        public void setPlaybackUrl(String playbackUrl) {
            this.playbackUrl = playbackUrl;
        }

        public int getIsMain() {
            return isMain;
        }

        public void setIsMain(int isMain) {
            this.isMain = isMain;
        }

        public String getEncodeHlsUrl() {
            return encodeHlsUrl;
        }

        public void setEncodeHlsUrl(String encodeHlsUrl) {
            this.encodeHlsUrl = encodeHlsUrl;
        }

        public String getEncodePlayBackUrl() {
            return encodePlayBackUrl;
        }

        public void setEncodePlayBackUrl(String encodePlayBackUrl) {
            this.encodePlayBackUrl = encodePlayBackUrl;
        }

    }

    public List<NanBuLiveTagBean> getTagList() {
        return tagList;
    }

    public void setTagList(List<NanBuLiveTagBean> tagList) {
        this.tagList = tagList;
    }

    public String getPlayBackUrl() {
        return playBackUrl;
    }

    public void setPlayBackUrl(String playBackUrl) {
        this.playBackUrl = playBackUrl;
    }

    public int getIsFollow() {
        return isFollow;
    }

    public void setIsFollow(int isFollow) {
        this.isFollow = isFollow;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public TeleTextBean(int id) {
        this.id = id;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getContentRule() {
        return contentRule;
    }

    public void setContentRule(String contentRule) {
        this.contentRule = contentRule;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getCoverPic() {
        return coverPic;
    }

    public void setCoverPic(String coverPic) {
        this.coverPic = coverPic;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getChatroomId() {
        return chatroomId;
    }

    public void setChatroomId(String chatroomId) {
        this.chatroomId = chatroomId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPushUrl() {
        return pushUrl;
    }

    public void setPushUrl(String pushUrl) {
        this.pushUrl = pushUrl;
    }

    public String getHlsUrl() {
        return hlsUrl;
    }

    public void setHlsUrl(String hlsUrl) {
        this.hlsUrl = hlsUrl;
    }

    public String getRtmpUrl() {
        return rtmpUrl;
    }

    public void setRtmpUrl(String rtmpUrl) {
        this.rtmpUrl = rtmpUrl;
    }

    public String getAdvPic() {
        return advPic;
    }

    public void setAdvPic(String advPic) {
        this.advPic = advPic;
    }

    public String getAdvUrl() {
        return advUrl;
    }

    public void setAdvUrl(String advUrl) {
        this.advUrl = advUrl;
    }

    public String getHits() {
        return hits;
    }

    public void setHits(String hits) {
        this.hits = hits;
    }

    public String getLove() {
        return love;
    }

    public void setLove(String love) {
        this.love = love;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getIsContent() {
        return isContent;
    }

    public void setIsContent(int isContent) {
        this.isContent = isContent;
    }

    public int getIsChatRoom() {
        return isChatRoom;
    }

    public void setIsChatRoom(int isChatRoom) {
        this.isChatRoom = isChatRoom;
    }

    public int getIsDescription() {
        return isDescription;
    }

    public void setIsDescription(int isDescription) {
        this.isDescription = isDescription;
    }

    public ChatRoom getChatRoom() {
        return chatRoom;
    }

    public void setChatRoom(ChatRoom chatRoom) {
        this.chatRoom = chatRoom;
    }
}
